<div class="services form">
<?php echo $this->Form->create('Service');?>
	<fieldset>
 		<legend><?php __('Edit Service'); ?></legend>
	<?php
		echo $this->Form->input('id');
		echo $this->Form->input('dateofentry',array('label'=>'Date of Entry','minYear'=>1970));
		echo $this->Form->input('entrypost',array('label'=>'Entry Post'));
		echo $this->Form->input('dategazatted',array('label'=>'Date of Gazzatted','minYear'=>1970));
		?>
		<div class="input text"><label for="ChildGender">Gender</label>
		<?php
		$options=array('class-1'=>'class-1','class-2'=>'class-2');
		echo $this->Form->select('class',$options,null,array('empty'=>false));
		?>
		</div>
		<?php
		
		///echo $this->Form->input('class');
		echo $this->Form->input('dateofencadrement',array('label'=>'Date of Encadrement','minYear'=>1970));
		echo $this->Form->input('namecadre',array('label'=>'Name Cadre'));
		//echo $this->Form->input('user_id');
	?>
	</fieldset>
<?php echo $this->Form->end(__('Submit', true));?>
</div>
<div class="actions">
	<?php echo $this->element('leftmenu'); ?>
</div>